import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/get_personal_result_entity.g.dart';


@JsonSerializable()
class GetPersonalResultEntity {

	GetPersonalResultEntity();

	factory GetPersonalResultEntity.fromJson(Map<String, dynamic> json) => $GetPersonalResultEntityFromJson(json);
	int? positionTotalCount;
	int? positionErrorCount;
	int? positionAnswerCount;
	int? positionUnCount;
	String? recommendation;
	List<GetPersonalResultSelectPositionList>? selectPositionList;
	List<GetPersonalResultSelectTypeList>? selectTypeList;

	Map<String, dynamic> toJson() => $GetPersonalResultEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class GetPersonalResultSelectPositionList {

	GetPersonalResultSelectPositionList();

	factory GetPersonalResultSelectPositionList.fromJson(Map<String, dynamic> json) => $GetPersonalResultSelectPositionListFromJson(json);
	String? companyCode;
	String? createBy;
	String? createById;
	String? createDate;
	String? deleted;
	int? duration;
	String? id;
	String? myValidity;
	String? optionA;
	String? optionB;
	String? optionC;
	String? optionD;
	String? parsing;
	String? questionMain;
	String? questionTypeDicId;
	String? questionValidity;
	int? score;
	String? textbookId;
	String? timeCount;
	String? updateBy;
	String? updateById;
	String? updateDate;

	Map<String, dynamic> toJson() => $GetPersonalResultSelectPositionListToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class GetPersonalResultSelectTypeList {

	GetPersonalResultSelectTypeList();

	factory GetPersonalResultSelectTypeList.fromJson(Map<String, dynamic> json) => $GetPersonalResultSelectTypeListFromJson(json);
	String? id;
	String? dictionaryLabel;
	dynamic dictionaryKeyValues;
	dynamic remark;
	String? dictionaryId;
	int? dictionarySort;
	String? createDate;
	String? createBy;
	String? updateDate;
	String? updateBy;
	String? dictionaryType;
	String? createById;
	dynamic updateById;
	String? deleted;
	String? pid;

	Map<String, dynamic> toJson() => $GetPersonalResultSelectTypeListToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
